package per.frank.demo.service.b;

import com.alibaba.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.concurrent.TimeUnit;

@DubboComponentScan(basePackages = "per.frank.demo.service.*")
@SpringBootApplication(scanBasePackages = {"per.frank.demo.service.b.*"})
public class Application {

    public static void main(String[] args) throws InterruptedException {
        System.out.println("aaa");
        SpringApplication.run(Application.class, args);
        System.out.println("aaa");
        TimeUnit.SECONDS.sleep(10000);
    }
}
